<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.io.*"%>
<%@ page import="requestInterFace.Handle.*"%>
<%@ page import="xml.response.*"%>
<%@ page import="xml.root"%>
<%@ page import="util.print.printLogCat"%>
<%@ page import="org.sql.table.*"%>
<%@ page import="org.UDP.*"%>
<%@ page import="xml.var"%>
<%@ page import="org.UDPHandle.*"%>
<%@ page import="java.util.Enumeration"%>
<%@ page import="org.init.pipedFactory"%>
<%@ page import="jqgrid.jqgrid"%>
<%@ page import="xml.var"%>
<%@ include file="../../util/paramPrint.jsp" %>
<%@ page trimDirectiveWhitespaces="true" %> 
<%
pipedFactory.getInstance().init();
String port = request.getParameter("port");
String data = request.getParameter("data");
if(port!=null&&!port.equals("")){
if(data==null){
data="没有数据";
}
out.println("send"+SendUDP.getInstance().Send(request.getRemoteHost(),(int)Float.parseFloat(port),"服务器接收到的数据 :"+data+":"+request.getLocale()+":"+request.getRemoteAddr()+":"+request.getRemoteHost()));
 out.println(request.getLocale()+":"+request.getRemoteAddr()+":"+request.getRemoteHost());
}else{
  out.println("请输入端口号");
 }
 
%>
